package com.example.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    private int states;
    private String detail;
    private Object user;
    private Object usertwo;
    public Message(int states, String detail){
        this.detail=detail;
        this.states=states;
    }
    public Message(int states, String detail, Object user){
        this.detail=detail;
        this.states=states;
        this.user=user;
    }
}
